import $http from '@/common/api/request.js'
export default{
	getMusicTypes(){
		return $http.request({
			url:'/music/type/list',
			method:'get'
			});
	},
	search(query){
		return $http.request({
			url: '/music/search',
			method: 'get',
			data: query
			});
	},
	searchMusic(query){
		return $http.request({
			url: '/music/searches',
			method: 'get',
			data: query
			});
	},
	home(query){
		return $http.request({
			url: '/music/home',
			method: 'get',
			data: query
			});
	}
}